<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>10_vertical-align</title>
    <style>
      .test1 {
        width: 400px;
        height: 400px;
        background-color: red;
      }
      .test2 {
        width: 100px;
        height: 100px;
        background-color: green;
        /* vertical-align: bottom; */
        line-height: 100px;
        position: relative;
        top: 150px;
      }
      .test3 {
        width: 400px;
        height: 400px;
        background-color: skyblue;
      }
      .test4 {
        width: 200px;
        height: 200px;
        background-color: orange;
        /* vertical-align: bottom; */
        line-height: 200px;
      }
    </style>
  </head>
  <body>
    <div class="test1">
      <div class="test2">qwer</div>
    </div>

    <div class="test3">
      <div class="test4">且随疾风前行，哈萨ki</div>
    </div>
  </body>
</html>
